package java期末练习.test47;

public class Student {


    int name;
    String grade;
    int age;

    public Student(int name, String grade, int age) {
        this.name = name;
        this.grade = grade;
        this.age = age;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "name=" + name +
                ", grade='" + grade + '\'' +
                ", age=" + age +
                '}';
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
